myfirstgtkapp_sources = [
  'main.c',
  'myfirstgtkapp-window.c',
]

myfirstgtkapp_deps = [
  dependency('gio-2.0', version: '>= 2.50'),
  dependency('gtk+-3.0', version: '>= 3.22'),
]

gnome = import('gnome')

myfirstgtkapp_sources += gnome.compile_resources('myfirstgtkapp-resources',
  'myfirstgtkapp.gresource.xml',
  c_name: 'myfirstgtkapp'
)

executable('myfirstgtkapp', myfirstgtkapp_sources,
  dependencies: myfirstgtkapp_deps,
  install: true,
)
